package org.jeecg.modules.car.service.impl;


import org.jeecg.entity.car.CarGate;
import org.jeecg.modules.car.mapper.CarGateMapper;
import org.jeecg.modules.car.service.ICarGateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Collection;
import java.util.List;

/**
 * @Description: 1
 * @Author: jeecg-boot
 * @Date:   2021-05-26
 * @Version: V1.0
 */
@Service
public class CarGateServiceImpl extends ServiceImpl<CarGateMapper, CarGate> implements ICarGateService {
 @Autowired
 private CarGateMapper carGateMapper;

    @Override
    public void saveCarGate(List<CarGate> gateList) {
        carGateMapper.saveCarGate(gateList);
    }

    @Override
    public List<CarGate> getByInParkId(String parkId) {
        return carGateMapper.getByInParkId(parkId);
    }

}
